import axios from "axios";
export const baseURL = "https://demo-api.niuyuwang.com";

export const risk_check = (companyId: string): Promise<Response> => {
  return fetch(baseURL + `/api/risk/check?companyId=${companyId}`, {
    headers: {
      Accept: "text/event-stream", // 明确要求SSE格式
    },
  });
};
